<html>
	<head>
		<meta charset="utf-8">
		<title>鼠标点击生成图片</title>
	</head>
	<body>
		<input type="number" value="数字自增"/>
		<textarea>文本域</textarea>
		<input type="text" value="键盘事件" onkeydown="if(event.keyCode == 13){addKeyWord(); event.keyCode=0;event.returnValue=false;return;}" />
	</body>
	<script>
		var addKeyWord = function (){
			console.log("点击了");
		}
	</script>
</html>